{% extends 'base.html.twig' %}
{% block body_bar %}
    <h5>{{ dry_translation('new') }}</h5>
    <div class="ibox-tools">
        <a class="btn btn-outline btn-info" href="{{ path('searchconfig_index') }}" data-route="searchconfig_index">{{ dry_translation('list') }}</a>
    </div>
{% endblock %}
{% block body %}
    <form method="post" class="form-horizontal" id="form">
        <div class="form-group">
            <label class="col-sm-2 control-label">{{ dry_translation('Search.dryGroup') }}</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_group" id="dry_group"></div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{{ dry_translation('Search.dryName') }}</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_name" id="dry_name"></div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{{ dry_translation('Search.dryField') }}</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_field" id="dry_field"></div>
        </div>
        {{ make_choice('search_operator')|raw }}
        {{ make_choice('search_form_type')|raw }}
        <div class="form-group">
            <label class="col-sm-2 control-label">{{ dry_translation('Search.dryDefault') }}</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_default" id="dry_default"></div>
        </div>
        {{ make_choice('single_row_yes_or_no')|raw }}
        {{ make_choice('status')|raw }}
        <div class="form-group">
            <label class="col-sm-2 control-label">{{ dry_translation('Search.drySort') }}</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_sort" id="dry_sort"></div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{{ dry_translation('Search.dryNote') }}</label>
            <div class="col-sm-10"><input type="text" class="form-control" name="dry_note" id="dry_note"></div>
        </div>
        <div class="hr-line-dashed"></div>
        <div class="form-group">
            <div class="col-sm-4 col-sm-offset-2">
                <button class="btn btn-primary" type="submit">确定</button>
                <button class="btn btn-white" type="reset">重置</button>
            </div>
        </div>
    </form>
{% endblock %}
